<?phpnamespace app\hook;use app\service\config;class orderclose{    public static function before($params = [])    {        // 处理秒杀库存        \Log::out('hook:order_close_before emitted. params:' . json_encode($params), 'hook');    }    public static function after($params = [])    {        \Log::out('hook:order_close_after emitted. params:' . json_encode($params), 'hook');    }}